//包装方案API文件
import request from "@/utils/axios";
import {
  URL_API
} from '@/utils/mUtils'
const base = URL_API()

//包装方案列表API
export function packagingList(params) {
    return request({
      url: `${base}/api/packaging/list`,
      method: 'post',
      data: params,
    })
}

//新建包装方案 
export function packagingCreate(params) {
    return request({
      url: `${base}/api/packaging/create`,
      method: 'post',
      data: params,
    })
}

//包装方案详情接口  
export function packagingDetail(params) {
    return request({
      url: `${base}/api/packaging/detail`,
      method: 'post',
      data: params,
    })
} 

//包装方案更新接口  
export function packagingUpdate(params) {
    return request({
      url: `${base}/api/packaging/update`,
      method: 'post',
      data: params,
    })
}

//客户管理详情接口  
export function packagingDelete(params) {
    return request({
      url: `${base}/api/packaging/delete`,
      method: 'post',
      data: params,
    })
}
